using System;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.NetduinoPlus;

namespace PomodoroTimer
{
    public class Buzz
    {
        private PWM beeper = new PWM(Pins.GPIO_PIN_D5);
        
        public void Beep()
        {
            beeper.SetPulse(1000, 100);
            for (int n = 0; n < 2000; n++ )
            {
            }
            beeper.SetPulse(0, 0);
        }
    }
}
